import request from '@/utils/request'
// 获取轮播图
export const getSwipe = () => {
  return request('home/swiper')
}
// 获取热门城市
export const getHotCity = () => {
  return request('/area/hot')
}
// 获取所有城市
export const getCity = (level) => {
  return request.get('/area/city', {
    params: {
      level
    }
  })
}
